package world.liuru.poem.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import world.liuru.poem.service.PoemExtendVoService;
import world.liuru.poem.vo.PoemExtendVo;
import javax.annotation.Resource;
@RestController
@RequestMapping("/poemExtendVo")
public class PoemExtendVoController {
    @Resource
    PoemExtendVoService poemExtendVoService;
    @GetMapping("/{id}")
    public PoemExtendVo findPoemExtendVoById(@PathVariable("id") String id){
        return poemExtendVoService.getPoemExtendVo(id);
    }

}
